package com.gyhy.dumplings.order.feign;

import com.gyhy.dumplings.common.dto.WareDto;
import com.gyhy.dumplings.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(name = "dumplings-product")
@Service
public interface ProductFeignService {

    @GetMapping(value = "/product/getWareInfo")
    R getWareInfo(@RequestBody List<WareDto> orderCountDtoList);


}
